package com.tz.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by heziqian on 2016/10/21.
 */
public class Province implements Serializable{

	private static final long serialVersionUID = -1686844026516185991L;
	
	private int id;
	private String code;//省份编号
	private String name;//省份名称

	private List<City> cites;//对应该省份的�?有城市集�?

	public Province() {

	}

	public Province(int id, String code, String name, List<City> cites) {
		super();
		this.id = id;
		this.code = code;
		this.name = name;
		this.cites = cites;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<City> getCites() {
		return cites;
	}

	public void setCites(List<City> cites) {
		this.cites = cites;
	}
}
